package com.xbao.service;

import com.xbao.core.component.page.Pagination;
import com.xbao.core.http.CommRequest;
import com.xbao.model.Subject;
import com.xbao.model.req.SubjectReq;
import com.xbao.model.vo.SubjectVo;

import java.util.List;

/**
 * Created by qingshengzheng on 18/8/26.
 */
public interface SubjectService {
    public void addSubject(Subject subject);
    public void deleteSubject(Long sid);
    public void modifySubject(Subject subject);
    public SubjectVo detailSubject(Long sid);
    public List<Subject> querySubjects(SubjectReq subjectReqCommRequest);
    public List<Subject> querySubjectsPage(CommRequest<SubjectReq> subjectReqCommRequest);
    public List<Subject> allSubjects(Long orgid);

}
